package com.geovis.emergency.spd.entity.basic.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.geovis.common.core.entity.BaseEntity;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 应急预案指挥模块-打卡表
 * </p>
 *
 * @author lmolong
 * @since 2022-06-21
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("pc_punch")
@ApiModel(value = "PcPunch对象", description = "应急预案指挥模块-打卡表")
public class PcPunch extends BaseEntity {

    @ApiModelProperty("演练id")
    private String pcDrillId;

    @ApiModelProperty("打卡规则id")
    private String basicPunchId;

    @ApiModelProperty("打卡人员id")
    private String personId;

    @ApiModelProperty("打卡日期")
    private LocalDateTime punchDate;

    @ApiModelProperty("总工时 (单位是小时)")
    private BigDecimal workingHours;

    @ApiModelProperty("类型(1-正常，2-外勤)")
    private String type;

    @ApiModelProperty("状态(1-正常，2-缺卡 3.迟到 4.早退)")
    private String status;

    @ApiModelProperty("签到状态(0.未签到 1.已签到)")
    private String signInStatus;

    @ApiModelProperty("签退状态(0.未签退 1.已签退)")
    private String signOutStatus;

}
